package com.example.mapper;

import com.example.pojo.Logs;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @version 1.0
 * @Author wql
 * @Date 2024/5/30
 * @Description
 */
@Mapper
public interface LogMapper {
    @Insert("insert into homework.logs ( username, phone,user_id,register_time) VALUES (#{username},#{phone},#{userId},now())")
    void insert(Logs logs);

}
